Skip to content

Conversation

@earlephilhower
Copy link
Owner

@earlephilhower earlephilhower commented Jul 29, 2025

Doesn't seem to have many additions since the develop branch we were using, but this one is nice and official and tagged.

Doesn't seem to have nay additions since the develop branch we were using,
but this one is nice and official and tagged.
@earlephilhower earlephilhower marked this pull request as draft July 29, 2025 19:16
@earlephilhower
Copy link
Owner Author

We needed about 6 copies of the LWIP/BT library for each CPU when the
lwip library was built as part of the SDK libpico.

Remove LWIP from the SDK builds and replace it with the actual LWIP
source (linked via `#include`) so we can adjust for IPv4/IPv^/32K/16K
at runtime.  Shrinks download size of a release significantly.

Still need separate LWIP-BT library because the CYW43 driver is
different when BT is enabled.

Update and clean up the libpico CMakefile and common platform_def.txt

Link to config includes, don't copy, where possible
@earlephilhower earlephilhower changed the title Update to Pico-SDK 2.2.0 release Update to Pico-SDK 2.2.0 release, remove multi-lib LWIP, clean up CMake Aug 6, 2025
@earlephilhower earlephilhower changed the title Update to Pico-SDK 2.2.0 release, remove multi-lib LWIP, clean up CMake Update to Pico-SDK 2.2.0 release, remove multi-lib LWIP, clean up CMake, clean up P.IO build hardcoded defines Aug 7, 2025
@earlephilhower earlephilhower marked this pull request as ready for review August 7, 2025 02:14
@earlephilhower
Copy link
Owner Author

@maxgerhardt if you could look over the changes I've done in your platform-build.py I would really appreciate the check!

The defines set in the P.IO builds never really matched the ones in the IDE because they relied on cut-n-pasting (and editing for proper formatting) updates every time. Now, the Arduino IDE and the P.IO should pull chip-level defines from a GCC @ file that has some common values for all chips and special ones for the 2040/2350/riscv.

Accidentally defined CYW43_SUPPORTED for all boards, not just the ones with
a CYW43 chip onboard.
Use newer script which parses local tzdata files
@maxgerhardt
Copy link
Contributor

maxgerhardt commented Aug 7, 2025

Changes to the platformio-build.py are reviewed and perfectly fine. Definitely sensible to pull them out of the shared files. I also tested the latest commit inside VSCode + PlatformIO and building the firmware and uploading worked perfectly fine.

No actual changes to output boot2 files, but if they ever do update we'll
catch it.
@earlephilhower earlephilhower merged commit 2de633b into master Aug 7, 2025
26 checks passed
@earlephilhower earlephilhower deleted the yetanothersdkupdate branch August 7, 2025 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants